package com.yumeng.webapp;

import com.yumeng.framework.runtime.ApplicationPrinter;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 启动类，认证框架：SpringSecurity
 *
 * , exclude = {SecurityAutoConfiguration.class}
 * application
 * @author wxd
 * @date 2024/5/24 上午11:22
 */
@Slf4j
@MapperScan({"com.yumeng.**.mapper"})
@SpringBootApplication(scanBasePackages = {"com.yumeng"})
public class YumengApplication {

    public static void main(String[] args) {
        log.info("############################################：YumengApplication 开始启动...");
        ConfigurableApplicationContext context = SpringApplication.run(YumengApplication.class, args);
        ApplicationPrinter.printApplicationInfo(context);
    }

}
